﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_BGM_ProjectOperation
    {
        private int BGM_PROJ_OPER_SEQ;
        private string BGM_PROJ_OPER_CODE;
        private string BGM_PROJ_OPER_NAME;
        private string BGM_PROJ_OPER_DESCR;
        private Nullable<DateTime> BGM_PROJ_OPER_DATE;
        private Nullable<DateTime> START_DATE;
        private Nullable<DateTime> END_DATE;
        private Nullable<int> BGM_YEAR;
        private Nullable<int> BGM_PROJ_SEQ;
        private Nullable<int> EMP_SEQ;
        private Nullable<int> JOB_SITE_SEQ;
        private string IS_USE;
        private Nullable<int> ATTEND_COUNT;

        private Nullable<double> SUM_AMOUNT;
        private M_BGM_Project M_BGM_PROJECT;
        private M_HRM_PS_Employees M_HRM_PS_EMPLOYEES;
        private M_HRM_MP_Jobsites M_HRM_MP_JOBSITES;
        private M_BGM_MAS_Option M_BGM_MAS_OPTION;

        private string RECORD_STATUS;
        private string RECORD_STATUS_NAME;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        public M_BGM_ProjectOperation()
        {

        }

        public M_BGM_ProjectOperation(
            int BGM_PROJ_OPER_SEQ
            , string BGM_PROJ_OPER_CODE
            , string BGM_PROJ_OPER_NAME
            , string BGM_PROJ_OPER_DESCR
            , Nullable<DateTime> BGM_PROJ_OPER_DATE
            , Nullable<DateTime> START_DATE
            , Nullable<DateTime> END_DATE
            , Nullable<int> BGM_YEAR
            , Nullable<int> BGM_PROJ_SEQ
            , Nullable<int> EMP_SEQ
            , Nullable<int> JOB_SITE_SEQ
            , string IS_USE
            , Nullable<int> ATTEND_COUNT

            , Nullable<double> SUM_AMOUNT
            , M_BGM_Project M_BGM_PROJECT
            , M_HRM_PS_Employees M_HRM_PS_EMPLOYEES
            , M_HRM_MP_Jobsites M_HRM_MP_JOBSITES
            , M_BGM_MAS_Option M_BGM_MAS_OPTION
            , string RECORD_STATUS
            , string RECORD_STATUS_NAME
            , Nullable<int> CREATED_BY
            , Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY
            , Nullable<DateTime> UPDATED_WHEN)
        {
            this.BGM_PROJ_OPER_SEQ = BGM_PROJ_OPER_SEQ;
            this.BGM_PROJ_OPER_CODE = BGM_PROJ_OPER_CODE;
            this.BGM_PROJ_OPER_NAME = BGM_PROJ_OPER_NAME;
            this.BGM_PROJ_OPER_DESCR = BGM_PROJ_OPER_DESCR;
            this.BGM_PROJ_OPER_DATE = BGM_PROJ_OPER_DATE;
            this.START_DATE = START_DATE;
            this.END_DATE = END_DATE;
            this.BGM_YEAR = BGM_YEAR;
            this.BGM_PROJ_SEQ = BGM_PROJ_SEQ;
            this.EMP_SEQ = EMP_SEQ;
            this.JOB_SITE_SEQ = JOB_SITE_SEQ;
            this.IS_USE = IS_USE;
            this.ATTEND_COUNT = ATTEND_COUNT;

            this.SUM_AMOUNT = SUM_AMOUNT;
            this.M_BGM_PROJECT = M_BGM_PROJECT;
            this.M_HRM_PS_EMPLOYEES = M_HRM_PS_EMPLOYEES;
            this.M_HRM_MP_JOBSITES = M_HRM_MP_JOBSITES;
            this.M_BGM_MAS_OPTION = M_BGM_MAS_OPTION;
            this.RECORD_STATUS = RECORD_STATUS;
            this.RECORD_STATUS_NAME = RECORD_STATUS_NAME;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;
        }

        public int bgm_proj_oper_seq
        {
            set { BGM_PROJ_OPER_SEQ = value; }
            get { return BGM_PROJ_OPER_SEQ; }
        }

        public string bgm_proj_oper_code
        {
            set { BGM_PROJ_OPER_CODE = value; }
            get { return BGM_PROJ_OPER_CODE; }
        }

        public string bgm_proj_oper_name
        {
            set { BGM_PROJ_OPER_NAME = value; }
            get { return BGM_PROJ_OPER_NAME; }
        }

        public string bgm_proj_oper_descr
        {
            set { BGM_PROJ_OPER_DESCR = value; }
            get { return BGM_PROJ_OPER_DESCR; }
        }

        public Nullable<DateTime> bgm_proj_oper_date
        {
            set { BGM_PROJ_OPER_DATE = value; }
            get { return BGM_PROJ_OPER_DATE; }
        }

        public Nullable<DateTime> start_date
        {
            set { START_DATE = value; }
            get { return START_DATE; }
        }

        public Nullable<DateTime> end_date
        {
            set { END_DATE = value; }
            get { return END_DATE; }
        }

        public Nullable<int> attend_count
        {
            set { ATTEND_COUNT = value; }
            get { return ATTEND_COUNT; }
        }

        public Nullable<int> bgm_year
        {
            set { BGM_YEAR = value; }
            get { return BGM_YEAR; }
        }

        public Nullable<int> bgm_proj_seq
        {
            set { BGM_PROJ_SEQ = value; }
            get { return BGM_PROJ_SEQ; }
        }

        public Nullable<int> emp_seq
        {
            set { EMP_SEQ = value; }
            get { return EMP_SEQ; }
        }

        public Nullable<int> job_site_seq
        {
            set { JOB_SITE_SEQ = value; }
            get { return JOB_SITE_SEQ; }
        }

        public string is_use
        {
            set { IS_USE = value; }
            get { return IS_USE; }
        }

        public Nullable<double> sum_amount
        {
            set { SUM_AMOUNT = value; }
            get { return SUM_AMOUNT; }
        }

        public M_BGM_Project m_bgm_project
        {
            set { M_BGM_PROJECT = value; }
            get { return M_BGM_PROJECT; }
        }

        public M_HRM_PS_Employees m_hrm_ps_employees
        {
            set { M_HRM_PS_EMPLOYEES = value; }
            get { return M_HRM_PS_EMPLOYEES; }
        }

        public M_HRM_MP_Jobsites m_hrm_mp_jobsites
        {
            set { M_HRM_MP_JOBSITES = value; }
            get { return M_HRM_MP_JOBSITES; }
        }

        public M_BGM_MAS_Option m_bgm_mas_option
        {
            set { M_BGM_MAS_OPTION = value; }
            get { return M_BGM_MAS_OPTION; }
        }

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public string record_status_name
        {
            set { RECORD_STATUS_NAME = value; }
            get { return RECORD_STATUS_NAME; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }
    }
}
